package com.roadjava.tutor.mapper;

import com.roadjava.tutor.bean.dto.OrderInfoDTO;
import com.roadjava.tutor.bean.dto.UserDTO;
import com.roadjava.tutor.bean.entity.OrderInfo;
import com.roadjava.tutor.bean.vo.OrderInfoVO;
import com.roadjava.tutor.bean.vo.UserVO;

import java.util.List;

/**
 * @author zhaodaowen
 * @see <a href="http://www.roadjava.com">乐之者java</a>
 */
public interface OrderInfoMapper {

    int insert(OrderInfo entity);

    List<OrderInfoVO> listByPage(OrderInfoDTO dto);

    long pageCount(OrderInfoDTO dto);

    int update(OrderInfo entity);

    int selectCount(OrderInfoDTO orderInfoDTO);
}
